package com.naiterui.ehp.bs.pharmacist.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.pharmacist.vo.user.QrcodeInfoVO;

/**
 * 药师绑定cms
 *
 * @author yangfuya
 * @version 1.0
 * @date 2021/5/18 11:44
 **/
public interface IPharmacistCmsService {

    /**
     * 二维码信息
     * @param pharmacistId
     * @param cmsId
     * @return
     */
    QrcodeInfoVO qrcodeInfo(Long pharmacistId, Long cmsId, String uuid) throws BusinessException;

    /**
     * 绑定
     * @param pharmacistId
     * @param cmsId
     * @throws BusinessException
     */
    void bind(Long pharmacistId, Long cmsId) throws BusinessException;

    /**
     * 解绑
     * @param pharmacistId
     * @throws BusinessException
     */
    void untie(Long pharmacistId) throws BusinessException;
}
